﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WebApplication2.EntityFrameWork;
using static LBCMS.EntityFrameWork.ClassExtraAttribute;
using System.ComponentModel;

namespace LBCMS.EntityFrameWork.FrameModel
{
    [DisplayName("议程")]
    public class TW_Agenda
    {
        [Key, DisplayName("ID")]
        public int id { get; set; }

        [DisplayName("名称"), MaxLength(100), Required, Inline,]
        public string aName { get; set; }


        [DisplayName("开始时间"), Inline,]
        public DateTime? startTime { get; set; }

        [DisplayName("结束时间"), Inline,]
        public DateTime? endTime { get; set; }


        [DisplayName("主讲嘉宾"), MaxLength(50), Required,]
        public string guestNames { get; set; }


        [DisplayName("地点"), MaxLength(100), Required,]
        public string address { get; set; }


        [DisplayName("内容"), MaxLength(50), Required,]
        public string content { get; set; }

        [DisplayName("活动ID")]
        public int activityID { get; set; }




    }
}
